import Vue from 'vue'
import store from "./state"

Vue.directive('has', {
  bind: function(el, binding) {
    if(store.getType() !== binding.value){
      el.style.display = "none"
    }
  }
})

